import Vue from 'vue'
import Router from 'vue-router'
import fire from '@/view/FirePage/FirePage'
import fireStar from '@/view/FireStar/FireStar'
import fireText from '@/view/FireText/FireText'
import FireStart from '@/view/fireStart/fireStart'
Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      redirect: '/fire'
    },
    {
      path: '/fire',
      name: 'fire',
      component: fire,
      meta: {
        title: '新年'
      }
    },
    {
      path: '/fireStar',
      name: 'fireStar',
      component: fireStar,
      meta: {
        title: '满天星'
      }
    },
    {
      path: '/fireText',
      name: 'fireText',
      component: fireText,
      meta: {
        title: '浪漫烟花'
      }
    },
    {
      path: '/fireStart',
      name: 'fireStart',
      component: FireStart,
      meta: {
        title: '变幻烟花'
      }
    }
  ]
})
